<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Editar</title>
</head>
<body>
	<center>
	<form action="AgendaController" method="post">
		<input type="hidden" name="id" value="<%=request.getAttribute("id")%>">
		Nome:<input type="text" name="nome" value="<%=request.getAttribute("nome")%>"><br>
		Sobrenome:<input type="text" name="sobrenome" value="<%=request.getAttribute("sobrenome")%>"><br>
		Email:<input type="text" name="email" value="<%=request.getAttribute("email")%>"><br>
		Telefone:<input type="text" name="telefone" value="<%=request.getAttribute("telefone")%>"><br>
		<input type="submit" name="atualizar" value="Atualizar">
	</form>
		<input type="submit" name="voltar" value="Voltar" onclick="voltar()">
	</center>
</body>
<script type="text/javascript">
function voltar(){
	history.back();
}
</script>
</html>